package com.ruoyi.ldzlsc.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;

/**
 * MRP运算明细对象 sc_mrp_detail
 *
 * @author ruoyi
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ScMrpDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * MRP明细ID
     */
    private Long mrpDetailId;

    /**
     * 关联的MRP主表ID
     */
    private Long mrpId;

    /**
     * 物料ID
     */
    private Long materialId;

    /**
     * 需求数量 (毛需求)
     */
    private BigDecimal requiredQty;

    /**
     * 可用数量 (库存)
     */
    private BigDecimal availableQty;

    /**
     * 短缺数量 (净需求)
     */
    private BigDecimal shortageQty;

    /**
     * 建议行动
     */
    private String suggestAction;

    /**
     * 关联工序ID
     */
    private Long processId;
} 